package com.example.mongodb.dao;

import com.example.mongodb.entity.ExchangeOrderDetail;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface ExchangeOrderDeatilRepository extends MongoRepository<ExchangeOrderDetail,String> {

    List<ExchangeOrderDetail> findAllByOrderId(String orderId);
}
